//
//  User.h
//  DialectShare
//
//  Created by timmy zhong on 3/26/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface User : NSObject
@property (nonatomic, retain) NSString *account, *password, *auth, *avatar, *name, *moto;
@property (nonatomic, assign) NSInteger uid;
@property (nonatomic, assign) NSInteger dialectCount, followCount, fanCount, commentCount;
@property (nonatomic, assign) BOOL isFollow;

+ (User *)userWithDic:(NSDictionary *)dic;

+ (User *)current;
+ (void)store:(User *)user;
+ (void)logout;

@end
